﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class adminstrator_adminTreeView : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserName"] == null && Session["UserNo"] == null)
            Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script type='text/javascript'>" +
                "alert(登录超时（或未登录）,请你重新登录!);parent.location.href='../login.aspx'<script>", false);
        else
            Label1.Text = "管理员端→欢迎你:" + Session["UserName"] + "(" + Session["uSERnO"] + ")";
    }
}